<div ng-controller="AgendaController">
    <table class="table table-striped table-bordered">
        <thead> 
            <tr>
                <th>Nombre</th>
                <th>Mail</th>
                <th>Telefono</th>
                <th>Accion</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="contact in contacts">
                <td>{{ contact.name }}</td>
                <td>{{ contact.email }}</td>
                <td>{{ contact.phone }}</td>
                <td>
                    <a href="#/persona/{{ contact.id }}">editar</a> | 
                    <a href="" ng-click="delete(contact.id)">borrar</a>
                </td>
            </tr>
        </tbody>
    </table>  
</div>  
